<?php
namespace plugins\order\job;
use think\queue\Job;
use think\Model;
use think\log;
use think\Db;
use plugins\order\model\OrderModel;
use plugins\order\model\OrderMemberModel;
use plugins\order\interfaceLib\OrderClassify;

//订单回调处理
class OrderStatus{
	public function modifyStatus( $data ){
		if( isset( $data [ 'status' ] ) && $data [ 'status' ] === 'success' ){
			//修改订单状态
			( new OrderClassify )->payCallBack($data['out_trade_no'],null);

		}else{
            //错误数据移出队列;
            // $job->delete();
        }		
	}
}
